package com.atguigu.yygh.common.exception;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//自定义的异常
@Data
@NoArgsConstructor
@AllArgsConstructor
public class YyghException extends RuntimeException{

    private Integer code;
    private String message;
}
